package com.dlearn.spring.service.impl;

/**
 * Created by Administrator on 2016/8/22.
 */

import com.dlearn.spring.dao.UserDao;
import com.dlearn.spring.modal.User;
import com.dlearn.spring.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("userService")
public class UserServiceImpl implements UserService {

    @Resource
    private UserDao userDao;

    public List<User> getUserList() {
        return userDao.getUserList();
    }
}
